/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkgapplication;

import java.io.Serializable;

/**
 *
 * @author Admin
 */
//aka tanks
//les hp dépendent de l'amélioration
public class UniteTerrestreLourde extends UniteDeCombat implements Serializable{
    int hP;
    public UniteTerrestreLourde(int forceBrute,int hP){
        super(forceBrute);
        this.hP=hP;
    }
    public void upgrade(int newHP,int newForceBrute){
        super.upgrade(newForceBrute);
        hP=newHP;
        
    }
    public int getType(){
        return 2;
    }
    
}
